The winning second-prize ticket for the Friday, July 22 drawing was sold in Dutchess County in Fishkill, said the New York Lottery.
The lucky winner, who purchased the ticket at the Smokes 4 Less, at 982 Main St. in Fishkill, picked all the correct numbers except for the Mega Ball, lottery officials said.
But lucky for them, they also purchased the Megaplier which tripled the $1 million prize.
The winning numbers were 14-40-60-64-66, with a Mega Ball of 16.
Mega Millions is played every Tuesday and Friday at 11 p.m.
Click here to follow Daily Voice Yonkers and receive free news updates.